package edu.lagou.service;

import edu.lagou.pojo.Authcode;

public interface AuthcodeService {

    Authcode findByEmail(String email);
    void save(Authcode authcode);

    String createCode(String email);
    String verifyCode(String email, String code);
    void savePassword(String email, String password);
    boolean login(String emmail, String password);
}
